package org.nanotek.beans.lucene;

import org.apache.lucene.document.Document;
import org.nanotek.Base;
import org.nanotek.lucene.preference.PreferenceSet;

@SuppressWarnings("serial")
public class Builder implements Base<String> 
{
	
	private String id; 
	private PreferenceSet preferenceSet; 
	private DocumentBuilder documentConfigurer;
	
	public Builder() {}

	public Builder(DocumentBuilder documentConfigurer) {
		this.documentConfigurer = documentConfigurer;
	}
	
	@Override
	public String getId() {
		return id;
	}
	
	public PreferenceSet getPreferenceSet() {
		return preferenceSet;
	}

	public void setPreferenceSet(PreferenceSet preferenceSet) {
		this.preferenceSet = preferenceSet;
	}

	public DocumentBuilder getDocumentConfigurer() {
		return documentConfigurer;
	}

	public void setDocumentConfigurer(DocumentBuilder documentConfigurer) {
		this.documentConfigurer = documentConfigurer;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Document buildDocument() {
		return null;
	}
	
}
